/**
 * 
 */
package com.buss.core.validator;

/**
 * 后台返回给前台的消息
 * @author 高小勇
 * 创建时间:2011-4-14
 * wcms2.0
 */
public class ResultMessage {

	/**消息编码,0:成功,-1:失败,-2:未登录或者需要重新登录,100:没有权限*/
	private String code = "0";
	
	private String mess = "";

	public ResultMessage(){}
	
	public ResultMessage(String code,String message){
		this.setCode(code);
		this.setMess(message);
	}
	
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMess() {
		return mess;
	}

	public void setMess(String mess) {
		this.mess = mess;
	}

	
	
}
